package com.authine.cloudpivot.ext.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @program: gm-market
 * @description: 客户订单商品
 * @author: wlw
 * @create: 2021-08-21 17:29
 **/
@Data
@Schema(description = "客户订单商品")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OrderGoodsVo {
    @Schema(description = "客户订单商品id")
    private String id;
    @Schema(description = "商品编码")
    private String goods_id;
    @Schema(description = "商品名称")
    private String name;
    @Schema(description = "品牌")
    private String brand;
    @Schema(description = "报价单位名称")
    private String unit;
    @Schema(description = "数量")
    private BigDecimal quantity;
    @Schema(description = "供应商")
    private String vendor_organization_name;
    @Schema(description = "收货人")
    private String receiver;
    @Schema(description = "电话")
    private String phone;
    @Schema(description = "详细地址")
    private String address;
    @Schema(description = "实付金额")
    private BigDecimal amount;
    @Schema(description = "客户订单id")
    private String order_customer_id;
    @Schema(description = "商品主图")
    private Object images;
    @Schema(description = "创建时间")
    private String createdTime;
    @Schema(description = "订单状态")
    private String order_customer_goods_status;
    @Schema(description = "售后状态")
    private String order_goods_returns_status;
    @Schema(description = "展示状态")
    private String show_status;
    @Schema(description = "可接受最迟交货日")
    private Date accept_delivery_time;
    @Schema(description = "税前单价")
    private BigDecimal pretax_price;
    @Schema(description = "税后单价")
    private BigDecimal price;
    @Schema(description = "物流单号")
    private String waybill;
    @Schema(description = "可退数量")
    private BigDecimal quantity_returnable;
    @Schema(description = "已退未发数量")
    private BigDecimal quantity_return_not_shipped;
    @Schema(description = "已退已发数量")
    private BigDecimal quantity_return_shipped;
    @Schema(description = "已退数量")
    private BigDecimal quantity_return;
}
